//
//  FilesystemView.h
//  MantuPlay
//
//  Created by Markus Sintonen on 21.3.2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Celestial/AVItem.h>
#import <Celestial/AVController.h>
#import <Celestial/AVQueue.h>

@interface File : NSObject
{
	NSString *name;
	NSString *path;
	NSNumber *isDirectory;
}

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *path;
@property (nonatomic, retain) NSNumber *isDirectory;

@end


@interface FilesystemView : UIViewController<UITableViewDelegate, UITableViewDataSource> {
	
	UITableView *fileTableView;
	
	NSString *currentDirectory;
	NSMutableArray *currentDirectoryContents;
}

@property (nonatomic, retain) UITableView *tableView;

-(id)initWithDirectory:(NSString*)dir;
-(void)getCurrentDirectoryContents;

@end
